import request from '@/utils/request'
export function list(params) {
  return request({
     url:'/admin/verify/list',
     method:'get',
     params:params
  })
}
export function save(data) {
  return request({
     url:'/admin/verify/save',
     method:'post',
     data:data
  })
}

export function del(ids) {
  return request({
     url:'/admin/verify/del/'+ids,
     method:'post'
  })
}

export function find(id) {
  return request({
     url:'/admin/verify/find/'+id,
     method:'get',
  })
}

export function update(data) {
  return request({
     url:'/admin/verify/update',
     method:'post',
     data:data
  })
}

export function audit(id) {
  return request({
    url:'/admin/verify/audit/'+id,
    method: 'post',
  })
}

export function unAudit(id) {
  return request({
    url:'/admin/verify/unAudit/'+id,
    method: 'post',
  })
}

export function cancel(id) {
  return request({
    url:'/admin/verify/cancel/'+id,
    method: 'post',
  })
}

export function exportView(id, params) {
  return request({
    url: '/admin/verify/export/' + id,
    method: 'get',
    params: params
  })
}

export function print(id, token) {
  return request({
    url: '/admin/verify/print/' + id + '?token=' + token,
    method: 'get'
  })
}
export function selectOrderItem(params) {
  return request({
    url: '/admin/verify/selectOrderItem',
    method: 'post',
    params: params
  })
}

